﻿using System;
using System.Configuration;

namespace tmAsk.Data
{
    public class Make_helper
    {

        public static string GetConnectionString(string configName)
        {
            return ConfigurationManager.AppSettings[configName];
        }

        public static string GetConnectionType(string configName)
        {
            return ConfigurationManager.AppSettings[configName];
        }

        public static string ConnectionString
        {
            get
            {
                return ConfigurationManager.ConnectionStrings["MakeConnectionString"].ConnectionString;
            }
        }
    }
}